package com.ff.xyh.common.utils;

/**
 * @Auther FF
 * @Date 2022年 09月 20日
 * @Time 22:53
 */

//@Component
//public class ConstantPropertiesUtils implements InitializingBean {
public class ConstantPropertiesUtils {
    //读取配置文件的内容

//    @Value("${aliyun.oss.file.endpoint}")
//    private String endpoint;
//    @Value("${aliyun.oss.file.keyid}")
//    private String keyid;
//    @Value("${aliyun.oss.file.keysecret}")
//    private String keysecret;
//    @Value("${aliyun.oss.file.bucketname}")
//    private String bucketname;

    public static String END_POINT = "oss-cn-guangzhou.aliyuncs.com";
    public static String ACCESS_KEY_ID = "LTAI5tDDokHnD82K2KWXHPyG";
    public static String ACCESS_KEY_SECRET = "QCCH2GWdu8oyE1C046Ox1bThZiHRUh";
    public static String BUCKET_NAME = "forestfairy";
    public static String FILE_HOST = "";

//    @Override
//    public void afterPropertiesSet() throws Exception {
//        END_POINT = this.endpoint;
//        ACCESS_KEY_ID = this.keyid;
//        ACCESS_KEY_SECRET = this.keysecret;
//        BUCKET_NAME = this.bucketname;
////        FILE_HOST = this.;
//    }
}
